package jym.tan.tmdb.bean;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

public class AuthenticationRequest implements Serializable {

	private static final long serialVersionUID = -5908967821478837018L;

	@SerializedName("expires_at")
	private String expiresAt;
	
	@SerializedName("request_token")
	private String requestToken;
	
	@SerializedName("success")
	private boolean success;
	
	private String authenticationCallback;
	
	public AuthenticationRequest() {
		
	}

	public String getExpiresAt() {
		return expiresAt;
	}

	public void setExpiresAt(String expiresAt) {
		this.expiresAt = expiresAt;
	}

	public String getRequestToken() {
		return requestToken;
	}

	public void setRequestToken(String requestToken) {
		this.requestToken = requestToken;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getAuthenticationCallback() {
		return authenticationCallback;
	}

	public void setAuthenticationCallback(String authenticationCallback) {
		this.authenticationCallback = authenticationCallback;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{").
			append("expires_at:").append("\"").append(expiresAt).append("\"").
			append(",").
			append("request_token:").append("\"").append(requestToken).append("\"").
			append(",").
			append("success:").append(success).
			append("}");
		return builder.toString();
	}
}
